Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(binding_coap)!: remove support for cov:observe subprotocol #203

Merged
merged 1 commit into from
Dec 6, 2024

Conversation

JKRhb
Copy link
Member

@JKRhb JKRhb commented Dec 6, 2024

Via w3c/wot-binding-templates#353, the cov:observe subprotocol has been removed from the CoAP binding template. This PR incorporates these changes by removing the code related to the now outdated subprotocol.

Currently, the polling behavior that is supposed to be used as a fallback as described in the binding template is not really supported yet, but I think this is something that should rather be added to the underlying CoAP library. I will investigate this in future PRs :)

@JKRhb JKRhb force-pushed the coap-observe-subprotocol branch from 7ac5a64 to 44059a1 Compare December 6, 2024 08:18
@codecov-commenter
Copy link

codecov-commenter commented Dec 6, 2024

Codecov Report

Attention: Patch coverage is 0% with 3 lines in your changes missing coverage. Please review.

Project coverage is 63.16%. Comparing base (aadc0cb) to head (44059a1).
Report is 9 commits behind head on main.

Files with missing lines Patch % Lines
lib/src/binding_coap/coap_client.dart 0.00% 3 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #203      +/-   ##
==========================================
+ Coverage   62.95%   63.16%   +0.20%     
==========================================
  Files          79       79              
  Lines        2319     2305      -14     
==========================================
- Hits         1460     1456       -4     
+ Misses        859      849      -10     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@JKRhb JKRhb merged commit b571667 into main Dec 6, 2024
5 checks passed
@JKRhb JKRhb deleted the coap-observe-subprotocol branch December 6, 2024 08:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants